#include "OH-general.h"
#include "sfGlobals.h"

double gws(int chair, const char* name, bool& iserr){ 
	return (*(sfGlobals::GetSingleton()->m_pget_winholdem_symbol))(chair,name,iserr); 
} 

double gws(const char* name){ 
	bool iserr; 
	int mychair = (int)gws(0,"userchair",iserr); 
	return gws(mychair,name,iserr); 
}

bool hlset( int rank0, int rank1, int listnum, bool onoff ){
   return ((*(sfGlobals::GetSingleton()->m_phl1k))[listnum][rank0-2][rank1-2] = onoff);
}

bool hlget( int rank0, int rank1, int listnum ){
   return ((*(sfGlobals::GetSingleton()->m_phl1k))[listnum][rank0-2][rank1-2]);
}
